package com.penghaisoft.microwms.product.dao;

import com.penghaisoft.microwms.common.data.model.ProSellOut;
import com.penghaisoft.microwms.common.data.model.ProSellOutSn;
import com.penghaisoft.microwms.common.mapper.BaseMapper;
import com.penghaisoft.microwms.common.page.Pager;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>Mapper</p>
 *
 * @author
 * @createDate
 **/
public interface ProSellOutSnMapper extends BaseMapper<ProSellOutSn> {

	/**
	 * @Title selectBeginEndScanTime
	 * @Description 查询手工入库单 开始、结束扫描时间
	 * @author luoteng
	 * @date 2018年6月15日
	 */
	public ProSellOutSn selectBeginEndScanTime(@Param("entity") ProSellOutSn proSellOutSn);

	public List<ProSellOutSn> queryListPrint(@Param("entity") ProSellOut t);

	/**
	 * @Title: queryPOutOrder
	 * @Description: 查询销售出库统计
	 * @author yanggm
	 * @date 2019年1月15日
	 */
	public List<ProSellOutSn> queryPOutOrder(@Param("page") Pager<ProSellOutSn> page, @Param("entity") ProSellOutSn condition);

	public long queryCountPOutOrder(@Param("entity") ProSellOutSn condition);

	public ProSellOutSn queryTotal(@Param("entity") ProSellOutSn condition);

	public Integer updateByOutNo(@Param("entity") ProSellOutSn snTmp);

	public Integer insertHand(@Param("entity") ProSellOutSn snTmp);

}